package cn.iocoder.yudao.module.im.controller.app.message.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotNull;
import java.util.List;

/**
 * 用户APP - 设置消息已读请求 VO
 *
 * @author 芋道源码
 */
@Schema(description = "用户APP - 设置消息已读请求")
@Data
public class AppMessageReadReqVO {

    @Schema(description = "联系人ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "123")
    @NotNull(message = "联系人ID不能为空")
    private Long toContactId;

    @Schema(description = "是否群聊", example = "0")
    private Integer isGroup;

    @Schema(description = "消息ID列表", example = "[1, 2, 3]")
    private List<Long> messageIds;

    @Schema(description = "发送者用户ID", example = "456")
    private Long fromUserId;

}